package drds.binlog.parse.exception;

import drds.binlog.common.BinlogException;

/**
 * canal 异常定义
 */
public class BinlogParseException extends BinlogException
{

    private static final long serialVersionUID = -7288830284122672209L;

    public BinlogParseException(String errorCode)
    {
        super(errorCode);
    }

    public BinlogParseException(String errorCode, Throwable cause)
    {
        super(errorCode, cause);
    }

    public BinlogParseException(String errorCode, String errorDesc)
    {
        super(errorCode + ":" + errorDesc);
    }

    public BinlogParseException(String errorCode, String errorDesc, Throwable cause)
    {
        super(errorCode + ":" + errorDesc, cause);
    }

    public BinlogParseException(Throwable cause)
    {
        super(cause);
    }

}
